import { IsString } from 'class-validator';

export class CreateTodoDto {
  @IsString()
  task: string;
  @IsString()
  state: 'todo' | 'pending' | 'done';
  @IsString()
  startTime: string;
  @IsString()
  endTime: string;
}
